s = 'AbcDeFGhIJ'
count = 0
for i in s:
    if i.islower():
        count += 1
print(count)